package com.ruoyi.mall.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 会员级别对象 mall_level
 * 
 * @author ruoyi
 * @date 2020-05-15
 */
public class MallLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员级别Id */
    private Long levelId;

    /** 成长值要求 */
    @Excel(name = "成长值要求")
    private Long levelNum;

    /** 折扣 */
    @Excel(name = "折扣")
    private BigDecimal discount;

    /** 会员级别详情 */
    @Excel(name = "会员级别详情")
    private String details;

    /** 会员级别名称 */
    @Excel(name = "会员级别名称")
    private String levelName;

    public void setLevelId(Long levelId) 
    {
        this.levelId = levelId;
    }

    public Long getLevelId() 
    {
        return levelId;
    }
    public void setLevelNum(Long levelNum) 
    {
        this.levelNum = levelNum;
    }

    public Long getLevelNum() 
    {
        return levelNum;
    }
    public void setDiscount(BigDecimal discount)
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount()
    {
        return discount;
    }
    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }
    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("levelId", getLevelId())
            .append("levelNum", getLevelNum())
            .append("discount", getDiscount())
            .append("details", getDetails())
            .append("levelName", getLevelName())
            .toString();
    }
}
